package com.mx.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mx.dao.Isalary;
import com.mx.entity.Salary;

@Service
public class SalaryService {
	 @Autowired
	 private Isalary  salaryimpl;
	 public List<Salary> getAllValue(){
		return salaryimpl.getAllValue();
	 }
	public List<Object> getSalaryByYear() {
		return salaryimpl.getSalaryByYear();
	};
}
